﻿#pragma once
#include "EditEntry.h"

class StringEditEntry : public EditEntry {
    Q_OBJECT
    struct StringEditEntryPrivate;
    QScopedPointer<StringEditEntryPrivate> p;

public:
    virtual ~StringEditEntry();
    explicit StringEditEntry(QWidget *parent = nullptr);
    void setValue(const QString &text);
    QString value() const;

signals:
    void valueChanged(const QString &text);

private:
    void onEditingFinished();
};
